Form Control Element
An HTML DOM form control element such as input, select, textarea, etc. Provides access to the attributes of the form control element.
Inheritors
Functions
Link copied to clipboard
public abstract void addEventListener(EventType eventType, Observer<Event> listener, boolean useCapture)
Adds the given
listener to the event target.Link copied to clipboard
Adds the given
node as a child of the current node to the end of its children list.Link copied to clipboard
Returns HTML attributes of this element.
Link copied to clipboard
Returns the rectangle bounds of the element and its position relative to the top-left of the viewport of the current document.
Link copied to clipboard
Returns the rectangle bounds of the element and its position relative to the top-left of the viewport of the main document.
Link copied to clipboard
Compares position of the current node against another node in a DOM tree.
Link copied to clipboard
Evaluates the given XPath
expression for the node and returns the XPathResult of the ANY type.Evaluates the given XPath
expression for the node and returns the XPathResult object of the given type.Link copied to clipboard
Returns the immutable list of event listeners that listen events of the given
eventType in a phase that corresponds the given useCapture.Link copied to clipboard
Returns the first Element object found in the current search context by the given
className.Link copied to clipboard
Returns the first Element object found in the current search context by the given
cssSelector.Link copied to clipboard
Returns the first Element object found in the current search context by the given
id.Link copied to clipboard
Returns the first Element object found in the current search context by the given
name.Link copied to clipboard
Returns the first Element object found in the current search context by the given
tagName.Link copied to clipboard
Returns an immutable list of the Element objects found in the current search context by the given
className.Link copied to clipboard
Returns an immutable list of the Element objects found in the current search context by the given
cssSelector.Link copied to clipboard
Returns an immutable list of the Element objects found in the current search context by the given
id.Link copied to clipboard
Returns an immutable list of the Element objects found in the current search context by the given
name.Link copied to clipboard
Returns an immutable list of the Element objects found in the current search context by the given
tagName.Link copied to clipboard
Returns an
Optional that contains the HTML element for the form that contains this element, otherwise an empty Optional.Link copied to clipboard
Inserts the given
node before the given beforeNode as a child of the current node.Link copied to clipboard
Returns an
Optional that contains the next node in the document tree if such a node exists, otherwise returns an empty Optional.Link copied to clipboard
Link copied to clipboard
Returns an
Optional that contains the previous node in the document tree if such a node exists, otherwise returns an empty Optional.Link copied to clipboard
Removes the given
childNode of the current node from the DOM.Link copied to clipboard
public abstract void removeEventListener(EventType eventType, Observer<Event> listener, boolean useCapture)
Removes the given
listener from the event target.Link copied to clipboard
Replaces the given child
oldNode of the current node with the given newNode.Link copied to clipboard
Scrolls the element's parent container such that the element on which this method is called is visible to the user.
Link copied to clipboard
Returns the text content of the current node and its descendants.
Removes all the current node children and replaces them with a single text node with the given
textContent.